package com.qzsoft.zhjd.collect.modules.cement.service.impl;

import com.qzsoft.zhjd.collect.modules.cement.entity.NCementJwDataEntity;
import com.qzsoft.zhjd.collect.modules.cement.mapper.NCementJwDataMapper;
import com.qzsoft.zhjd.collect.modules.cement.service.NCementJwDataService;
import org.springframework.stereotype.Service;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.Map;
import java.util.List;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;




@Service("nCementJwDataService")
public class NCementJwDataServiceImpl extends ServiceImpl<NCementJwDataMapper, NCementJwDataEntity> implements NCementJwDataService {

    @Autowired
    private NCementJwDataMapper nCementJwDataMapper;

    /**
     * 列表
     */
    @Override
    public IPage<NCementJwDataEntity> queryPage(Map<String, Object> params) {
        return null;
    }

    /**
     * 信息
     * @return NCementJwDataEntity
     */
    @Override
    public NCementJwDataEntity getInfo(Integer id){
        return getById(id);
    }

    /**
     * 保存
     */
    @Override
    public void saveData(NCementJwDataEntity nCementJwData){
        save(nCementJwData);
    }

    /**
     * 修改
     */
    @Override
    public void updateData(NCementJwDataEntity nCementJwData){
        updateById(nCementJwData);
    }

    /**
     * 删除单条数据
     * @param id
     */
    @Override
    public void deleteOneData(Integer id){
        removeById(id);
    }

    /**
     * 删除
     */
    @Override
    public void deleteData(List<Integer> ids){
        removeByIds(ids);
    }
}
